Repository navigation
Conversation
Logging: Log Retention's default and its effect on how many days of log files are kept, its validation (in the browser and in the plugin), the tab's note on the retention in force, and the log viewer. Debug: Disable Test Data. A legacy fixture checks settings stored by Carbon Fields. With this, every setting on the settings page has regression tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BL2bFrTk84JMy3CPAsCTV9
This was referenced Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
commented
Oct 24, 2026
conatus
left a comment
Member
Author
There was a problem hiding this comment.
Supplementary review: one spec selector depends on Carbon Fields. This adds to the inline findings already posted.
Generated by Claude Code
# Conflicts: # packages/join-e2e/tests/settings/support.ts
- One expectSaveRefused (from the Membership Plans branch), which tries the save rather than asking the form whether it's valid, so a form with `novalidate` can't slip through; saveSkippingBrowserChecksExpectingErrors is replaced by saveSkippingPageChecksExpectingErrors. The retention test re-enters its invalid values before the second save, whichever way the first was refused. - Log rotation is checked against the dates the test laid down, so a run across midnight passes, with fewer WP-CLI calls. - Each test's log files are backed up and put back afterwards. - The default retention test is skipped, saying why, when JOIN_FLOW_LOG_RETENTION_DAYS is set in packages/join-block/.env. - Skipped test for the Logging tab showing a stale log file (JOIN-172). - logInfo, logInvalidPlan and PHP_LOG_FILES are shared from support.ts with the Integrations logging spec. - No Carbon Fields class in the spec. - Docs: GoCardless, Chargebee and address lookup are no longer listed as untested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BL2bFrTk84JMy3CPAsCTV9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fifth of six settings page regression test PRs, and the last that adds tests (#138 adds type and format checks on top). Stacked on #136 → #135 → #134 → #133.
With this, every setting on the settings page has regression tests: what's saved, read back through
Settings::get, its effect on the plugin and the join form, and still working when stored the way Carbon Fields stores it.What's covered (
tests/settings/logging-debug.spec.ts)Logging
Debug
Legacy: retention and Disable Test Data in Carbon Fields' storage format are still read and still apply.
Supporting changes
JoinSettingsPage.expectSaveRefused()also counts the browser refusing to submit. NewsaveSkippingBrowserChecksExpectingErrors()turns that check off, so the plugin's own validation is tested too.Testing
Locally, the whole E2E suite: 208 passed, 7 skipped (6 known problems from the settings PRs, plus JOIN-158).
Generated by Claude Code